'use strict';

angular.module('hackathonApp')
  .factory('PicklistService', function PicklistService($resource) {
        return $resource("/api/picklist/:table/:id_field/:value_field/:where",{
            table: "@table",
            id_field: "@id_field",
            value_field: "@value_field",
            where: "@where"
        });
    });
